package com.liruo.test.example.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author:liruo
 * @Date:2022-11-16-21:40:08
 * @Desc
 */
@ConfigurationProperties("test.example")
@Component
@Data
public class ExampleProperties {
    private String str = "default";
    private List<String> list;
    private boolean bool;
}
